//
//  CollectionViewCell.m
//  CollectionView
//
//  Created by GumGum on 2017/5/19.
//  Copyright © 2017年 鱼蛋蛋. All rights reserved.
//

#import "CollectionViewCell.h"

@implementation CollectionViewCell
- (instancetype)initWithFrame:(CGRect)frame {
    
    if ([super initWithFrame:frame]) {

        
        
        CGFloat w = [UIScreen mainScreen].bounds.size.width/3.0;
        
        
        _imgView = [[UIImageView alloc] initWithFrame:CGRectMake(10, 10, w - 20, w - 20)];
        
        [self addSubview:_imgView];
        
        
    }
    
    return self;
}

@end
